#pragma once

#include "util/net/http-dispatcher.h"

class AbcServer;

class AbcServerDispatcher : public HttpDispatcher
{
public:
    AbcServerDispatcher(AbcServer &server);

    virtual ~AbcServerDispatcher();

    virtual HttpController *dispatch(const HttpRequest &request) override;

private:
    HttpController *staticResource_{};
    HttpController *mainPage_{};
    HttpController *articleManager_{};
    HttpController *tool_{};


    HttpController *resourceNotFound_{};
};
